//
//  BaseNormalTableView.h
//  DDKelai
//
//  Created by Admin on 16/1/21.
//  Copyright © 2016年 Admin. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^BeginScroll)(UITableView *tableView);

typedef void(^DidSelectedRow)(UITableView *tableView, NSIndexPath *indexPath);

typedef void(^DidSelectedBackState)(BOOL isRolling);

typedef void(^DidDeleteRow)(UITableView *tableView, NSIndexPath *indexPath);

typedef void(^DidDeleteAndRefreshRow)(UITableView *tableView, NSIndexPath *indexPath);

@interface BaseNormalTableView : UITableView <UITableViewDataSource, UITableViewDelegate>

// 可变数组，1组的情况
@property (nonatomic, strong) NSMutableArray *data;
//// 可变字典，分组的情况
@property (nonatomic, strong) NSMutableDictionary *interviewDic;

@property (nonatomic, copy) DidSelectedRow didSelectedRow;

@property (nonatomic, copy) DidSelectedBackState didSelectedIsRolling;

@property (nonatomic, copy) DidDeleteRow didDeleteRow;

@property (nonatomic, copy) DidDeleteAndRefreshRow didDeleteAndRefreshRow;

@property (nonatomic, copy) BeginScroll beginScroll;


@end
